/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[欢迎加盟知启蒙，一起邂逅框架梦]
 * 
 * https://www.zhiqim.com/gitcan/zhiqim/zhiqim_account.htm
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.zhiqim.account.dbo.sys;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 系统支付方式 对应表《ZAC_PAYMENT》
 */
@AnAlias("ZacPayment")
@AnNew
@AnTable(table="ZAC_PAYMENT", key="PAYMENT_CODE", type="InnoDB")
public class ZacPayment implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="PAYMENT_CODE", type="string,32", notNull=true)    private String paymentCode;    //1.支付方式编码
    @AnTableField(column="PAYMENT_NAME", type="string,32", notNull=true)    private String paymentName;    //2.支付方式名称
    @AnTableField(column="PAYMENT_STATUS", type="byte", notNull=true)    private int paymentStatus;    //3.支付方式状态，0：正常，1：停用
    @AnTableField(column="PAYMENT_ICO", type="string,32", notNull=true)    private String paymentIco;    //4.支付方式图标
    @AnTableField(column="PAYMENT_SEQ", type="int", notNull=true)    private int paymentSeq;    //5.支付方式排序

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getPaymentCode()
    {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode)
    {
        this.paymentCode = paymentCode;
    }

    public String getPaymentName()
    {
        return paymentName;
    }

    public void setPaymentName(String paymentName)
    {
        this.paymentName = paymentName;
    }

    public int getPaymentStatus()
    {
        return paymentStatus;
    }

    public void setPaymentStatus(int paymentStatus)
    {
        this.paymentStatus = paymentStatus;
    }

    public String getPaymentIco()
    {
        return paymentIco;
    }

    public void setPaymentIco(String paymentIco)
    {
        this.paymentIco = paymentIco;
    }

    public int getPaymentSeq()
    {
        return paymentSeq;
    }

    public void setPaymentSeq(int paymentSeq)
    {
        this.paymentSeq = paymentSeq;
    }

}
